from django.urls import path, re_path

from order import views

urlpatterns = [
    re_path(r'^api/v1.0/orders/$',views.OrderAddView.as_view()),
    # re_path(r'^api/v1.0/orders$',views.OrderAddView.as_view()),
    re_path(r'^api/v1.0/orders/(?P<order_id>\d+)/status$',views.OrdersStatusView.as_view()),
    re_path(r'^api/v1.0/orders/(?P<order_id>\d+)/comment/$',views.OrderCommentView.as_view()),
]